#!/usr/bin/awk -f

BEGIN{
    FS="|"
    # FPAT="([^'"FS"']*)"   #ZHIDI
    FPAT="([^,]*)|(\"[^\"]*\")"
}

{
    print $1"|"$2"|"$3"|"$4
}